package cn.taoticket.mapper;

import cn.taoticket.pojo.TaoticketSchedulerSeatPrice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaoticketSchedulerSeatPriceMapper {

    public TaoticketSchedulerSeatPrice getTaoticketSchedulerSeatPriceById(@Param(value = "id") Long id) throws Exception;

    public List<TaoticketSchedulerSeatPrice> getTaoticketSchedulerSeatPriceListByMap(Map<String, Object> param) throws Exception;

    public Integer getTaoticketSchedulerSeatPriceCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertTaoticketSchedulerSeatPrice(TaoticketSchedulerSeatPrice taoticketSchedulerSeatPrice) throws Exception;

    public Integer updateTaoticketSchedulerSeatPrice(TaoticketSchedulerSeatPrice taoticketSchedulerSeatPrice) throws Exception;

    public Integer deleteTaoticketSchedulerSeatPriceById(@Param(value = "id") Long id) throws Exception;

    public Integer batchDeleteTaoticketSchedulerSeatPrice(Map<String, List<String>> params);

    public TaoticketSchedulerSeatPrice getTaoticketSchedulerSeatPriceByScheduleIdAndArea(@Param(value = "scheduleId") Long scheduleId, @Param(value = "areaLevel") Integer areaLevel);

}
